package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_horse_run_level_up", autoSave = true, dataUpload = true, eventName = "horserun_upgrade",uploadCk = true,desc = "小马快跑升级日志")
public class HorseRunLeverUpLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "等级变更值",dataAttribute = "horserun_num")
    private int levelUpNum;
    @FieldTypeAnnotation(desc = "当前小马等级",dataAttribute ="horserun_lv")
    private int nowLevel;
    @FieldTypeAnnotation(desc = "当前小马评分",dataAttribute ="horserun_score")
    private long nowGrade;
    @FieldTypeAnnotation(desc = "当前精力等级",dataAttribute ="horserun_enelv")
    private int nowEnergyLv;
    @FieldTypeAnnotation(desc = "当前技巧等级",dataAttribute ="horserun_skilv")
    private int nowArtLv;
    @FieldTypeAnnotation(desc = "当前抗性等级",dataAttribute ="horserun_reslv")
    private int nowResistanceLv;
    @FieldTypeAnnotation(desc = "技能孔数量",dataAttribute ="horserun_honum")
    private int skillNum;
    @FieldTypeAnnotation(desc = "属性点",dataAttribute ="horserun_point")
    private int attrPoint;

    public HorseRunLeverUpLog() {
    }

    public HorseRunLeverUpLog(int activityId, long userId, int levelUpNum, int nowLevel, long nowGrade, int nowEnergyLv, int nowArtLv, int nowResistanceLv, int skillNum, int attrPoint) {
        this.activityId = activityId;
        this.userId = userId;
        this.levelUpNum = levelUpNum;
        this.nowLevel = nowLevel;
        this.nowGrade = nowGrade;
        this.nowEnergyLv = nowEnergyLv;
        this.nowArtLv = nowArtLv;
        this.nowResistanceLv = nowResistanceLv;
        this.skillNum = skillNum;
        this.attrPoint = attrPoint;

    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getLevelUpNum() {
        return levelUpNum;
    }

    public void setLevelUpNum(int levelUpNum) {
        this.levelUpNum = levelUpNum;
    }

    public int getNowLevel() {
        return nowLevel;
    }

    public void setNowLevel(int nowLevel) {
        this.nowLevel = nowLevel;
    }

    public long getNowGrade() {
        return nowGrade;
    }

    public void setNowGrade(long nowGrade) {
        this.nowGrade = nowGrade;
    }

    public int getNowEnergyLv() {
        return nowEnergyLv;
    }

    public void setNowEnergyLv(int nowEnergyLv) {
        this.nowEnergyLv = nowEnergyLv;
    }

    public int getNowArtLv() {
        return nowArtLv;
    }

    public void setNowArtLv(int nowArtLv) {
        this.nowArtLv = nowArtLv;
    }

    public int getNowResistanceLv() {
        return nowResistanceLv;
    }

    public void setNowResistanceLv(int nowResistanceLv) {
        this.nowResistanceLv = nowResistanceLv;
    }

    public int getSkillNum() {
        return skillNum;
    }

    public void setSkillNum(int skillNum) {
        this.skillNum = skillNum;
    }

    public int getAttrPoint() {
        return attrPoint;
    }

    public void setAttrPoint(int attrPoint) {
        this.attrPoint = attrPoint;
    }


}
